﻿<%@ Page  MasterPageFile="~/Site.Master" Language="C#" AutoEventWireup="true" CodeBehind="DiliveryStrategyList.aspx.cs" Inherits="RabbitManage.UI.DiliveryStrategyList" %>

<asp:Content runat="server" ID="BodyContent" ContentPlaceHolderID="MainContent">
    
    <section class="contact">

        <h3>邮费策略列表:</h3>

        <%= list.Count %>个
        <br />
            
        <table>
            <tr>
                <td>StrategyName</td>
                <td>Cost</td>
                <td>GreaterThan</td>
                <td>ProvinceList</td>
                <td>CityList</td>
            </tr>
            
            <asp:Repeater runat="server" ID="productRepeater" >
                <ItemTemplate>
                    <tr>
                        <td><%#Eval("StrategyName") %></td>
                        <td><%#Eval("Cost") %></td>
                        <td><%#Eval("GreaterThan") %></td>
                        <td><%#string.Join(",", (IEnumerable<string>)Eval("ProvinceList")) %></td>
                        <td><%#Eval("CityList") %></td>
                        <td>
                            <a href="DiliveryCostStrategy.aspx?id=<%#Eval("Id") %>">预览</a>
                        </td>
                        <td>
                            <a href="DiliveryStrategyEdit.aspx?id=<%#Eval("Id") %>">编辑</a>
                        </td>
                        <td>
                            <a href="/Action/DiliveryStrategyDelete.aspx?id=<%#Eval("Id") %>" onclick="return confirm('确认删除？')">删除</a>
                        </td>
                    </tr>
                </ItemTemplate>
            </asp:Repeater>
        </table>


    </section>
</asp:Content>
